<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Step 4: Registering a Dataset">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001792381284.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20240608">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000001839180469">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Step 4: Registering a Dataset</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000001839180469"></a><a name="EN-US_TOPIC_0000001839180469"></a>
  <h1 class="topictitle1">Step 4: Registering a Dataset</h1>
  <div>
   <p>A dataset is a resource set that contains specified labels in the Kubernetes namespace. Datasets can be registered to protect data for resources with specified labels.</p>
   <div class="section">
    <h4 class="sectiontitle">Precautions</h4>
    <p>During the dataset registration, ensure that the entered label contains all information about the application. Otherwise, the restoration may fail.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001792381196_en-us_topic_0000001839142377_uicontrol846217343614"><b><span id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001792381196_en-us_topic_0000001839142377_text1046212303610"><strong>Protection</strong></span> &gt; Containers &gt; <span id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001792381196_en-us_topic_0000001839142377_text149606591485"><strong>Kubernetes CSI</strong></span></b></span>.</span></li>
     <li><span>Click the <span class="uicontrol"><b>Dataset</b></span> tab and click <span class="uicontrol"><b><span><strong>Register</strong></span></b></span> to register the Kubernetes CSI dataset information.</span><p></p><p><a href="#EN-US_TOPIC_0000001839180469__table13765154215210">Table 1</a> describes the Kubernetes CSI dataset registration information.</p>
      <div class="tablenoborder">
       <a name="EN-US_TOPIC_0000001839180469__table13765154215210"></a><a name="table13765154215210"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001839180469__table13765154215210" frame="border" border="1" rules="all">
        <caption>
         <b>Table 1 </b>Dataset registration information
        </caption>
        <colgroup>
         <col style="width:25.89%">
         <col style="width:74.11%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="25.89%" id="mcps1.3.3.2.2.2.2.2.3.1.1"><p>Parameter</p></th>
          <th align="left" class="cellrowborder" valign="top" width="74.11%" id="mcps1.3.3.2.2.2.2.2.3.1.2"><p>Description</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="25.89%" headers="mcps1.3.3.2.2.2.2.2.3.1.1 "><p><strong>Name</strong></p></td>
          <td class="cellrowborder" valign="top" width="74.11%" headers="mcps1.3.3.2.2.2.2.2.3.1.2 "><p>Customize the dataset name.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.89%" headers="mcps1.3.3.2.2.2.2.2.3.1.1 "><p><strong>Namespace</strong></p></td>
          <td class="cellrowborder" valign="top" width="74.11%" headers="mcps1.3.3.2.2.2.2.2.3.1.2 "><p>Name of the namespace where the dataset to be registered is located.</p>
           <div class="note">
            <span class="notetitle"> NOTE: </span>
            <div class="notebody">
             <p>Before a namespace is selected, ensure that the namespace already exists in the cluster registered with the <span>product</span>.</p>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.89%" headers="mcps1.3.3.2.2.2.2.2.3.1.1 "><p><span><strong>Include Selectors</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.11%" headers="mcps1.3.3.2.2.2.2.2.3.1.2 "><p>Multiple labels can be added to specify resources that contain labels in the namespace. You can query resource labels on the Kubernetes management platform.</p> <p>The following is an input example of the <strong>Key</strong> and <strong>Value</strong> of a label:</p> <pre class="screen" id="EN-US_TOPIC_0000001839180469__screen22201536347">Label:<em id="EN-US_TOPIC_0000001839180469__i2382632193619">app.kubernetes.io/name=mysql</em>
Key:<em id="EN-US_TOPIC_0000001839180469__i159413615368">app.kubernetes.io/name</em>
Value:<em id="EN-US_TOPIC_0000001839180469__i596523913363">mysql</em></pre></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="25.89%" headers="mcps1.3.3.2.2.2.2.2.3.1.1 "><p><span><strong>Exclude Selectors</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="74.11%" headers="mcps1.3.3.2.2.2.2.2.3.1.2 "><p>Multiple labels can be added to exclude resources that contain labels in the namespace. You can query resource labels on the Kubernetes management platform.</p> <p>The following is an input example of the <strong>Key</strong> and <strong>Value</strong> of a label:</p> <pre class="screen">Label:<em id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001839180469_i2382632193619">app.kubernetes.io/name=mysql</em>
Key:<em id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001839180469_i159413615368">app.kubernetes.io/name</em>
Value:<em id="EN-US_TOPIC_0000001839180469__en-us_topic_0000001839180469_i596523913363">mysql</em></pre></td>
         </tr>
        </tbody>
       </table>
      </div>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>A maximum of 16 datasets can be created in a namespace.</p>
       </div>
      </div> <p></p></li>
     <li><span>Click <span class="uicontrol"><b><span><strong>OK</strong></span></b></span>.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000001792381284.html">Backing Up Namespaces or Datasets</a>
    </div>
   </div>
  </div>
 </body>
</html>